package geppetto.phraseScorer;

import geppetto.phraseHMM.phraseExtraction.extractedphrase.ExtractedPhrasePair;

public abstract class AbstractPhraseScorer {

	public abstract double getPhraseScore(int sentenceNumber,byte sentenceSource,
			int[] foreingSentence, int[] sourceSentence,
			int sourceStartPos, int sourceEndPos,
			int foreignStartPos, int foreignEndPos);
	
	public double getPhraseScore(ExtractedPhrasePair epp){
		return getPhraseScore(epp.getSentenceNumber(), epp.getSentenceSource(), epp.getForeignSentence(), epp.getSourceSentence(), epp.getSourceStartPos(), epp.getSourceEndPos(), epp.getForeignStartPos(), epp.getForeignEndPos());
	}
	
//	public abstract double getNullPhraseScore(int sentenceNumber, byte sentenceSource, 
//			int[] foreingSentence, int[] sourceSentence,
//			int foreignStartPos, int foreignEndPos);
	
}
